namespace ScrumSprintMonitor.Implementation
{
	#region #using Directives

	using System.Collections.Generic;
	using System.ComponentModel.Composition;

	using Infrastructure;

	#endregion

	public class MefProcessTemplateAdapterProvider : IProcessTemplateAdapterProvider
	{
		private readonly IList<IProcessTemplateAdapter> processTemplateAdapters = new List<IProcessTemplateAdapter>();

		#region Implementation of IProcessTemplateAdapterProvider

		[ImportMany(typeof(IProcessTemplateAdapter))]
		public IList<IProcessTemplateAdapter> AvailableProcessTemplates
		{
			get { return this.processTemplateAdapters; }
		}

		#endregion
	}
}